package com.device.grant.dao;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.device.grant.pojo.IEmployee;
import com.device.grant.utils.ColumnCompator;

/**
 * @author zhuxy
 * 
 * @version 1.0
 */
public interface IemployeeDao {

	boolean addIemployee(IEmployee iEmployee);

	Integer getQueryCount(Map<String, Object> params, List<String> blearParams, Map<String, ColumnCompator> compators);

	boolean updateIemployee(Map<String, Object> changeInfos, Map<String, Object> conditions);

	List<IEmployee> queryIemployees(Integer page, Integer rows, Map<String, Object> conditions, List<String> blearParams,
			Map<String, ColumnCompator> compators, String orderBy);

	IEmployee getIemployee(Map<String, Object> conditions);

	List<IEmployee> queryEmployeeSInIds(Set<Integer> ids);

	boolean reviewGroupRegister(Map<String, Object> changeInfos, Map<String, Object> conditions, Integer exits);

	List<IEmployee> queryEmployeeSInEmpNos(Set<String> empNos);
}
